package cn.shadow.service;

import cn.shadow.moulde.ModuleHub;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Closeable;

/**
 * 所有的服务都注册在此
 */
@Service
@Data
public class Services implements Closeable {

    @Autowired
    private final ModuleHub moduleHub;

    @Autowired
    private IThreadService iThreadService;

    @Autowired
    private ITimeService iTimeService;

    @Autowired
    private IConfigService configService;

    @Autowired
    private DBService dbService;

    @Autowired
    WorldService worldService;

    @Autowired
    GameService gameService;

    @Override
    public void close() {

    }

}
